﻿using System.Collections.Generic;
using OTE.Contract;

namespace OTE.Web.Mvc.ViewModels.Question
{
    public class UpdateQuestionViewModel
    {
        public UpdateQuestionViewModel()
        {
            ParentCategories = new List<CategoryDTO>();

            ChildCategories = new List<CategoryDTO>();
        }

        public IList<CategoryDTO> ParentCategories { get; set; }

        public IList<CategoryDTO> ChildCategories { get; set; }

        public string Content { get; set; }

        public int ParentCatId { get; set; }

        public int ChildCatId { get; set; }

        //hidden field
        public int Id { get; set; }

        public int CatSelectedId { get; set; }
    }
}